package com.luckberry.murder.service;

import com.luckberry.murder.entity.good.Good;

import java.util.List;

public interface GoodService {

    List<Good> getGoods();

    List<Good> getGoodsByName(String name);

    List<Good> getGoodsByType(String type);

    Good getGood(int gid);

    boolean addGood(Good good);

    boolean deleteGood(int gid);

    boolean editGood(Good good);
}
